package com.witdata.mysql.domain.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.sql.Time;
import java.sql.Timestamp;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 课程时间表 实体类。
 *
 * @author admin
 * @since 2025-05-09
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("t_course_schedules")
public class TCourseSchedules implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 课程时间ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 课程ID
     */
    private Long courseId;

    /**
     * 星期几(0-6)
     */
    private Integer dayOfWeek;

    /**
     * 开始时间
     */
    private Time startTime;

    /**
     * 结束时间
     */
    private Time endTime;

    /**
     * 教室
     */
    private String classroom;

    private Timestamp createdAt;

}
